package yzy.ecps.dao.impl;

import java.util.Map;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

import yzy.ecps.dao.PtlUserDao;
import yzy.ecps.model.BtcPtlUser;

@Repository
public class PtlUserDaoImpl extends SqlSessionDaoSupport implements PtlUserDao {
	
	String ns = "btc_ptl_user.";
	public BtcPtlUser getUserByCodeAndPwd(Map<String, String> map) {
		return getSqlSession().selectOne(ns+"getByNameAndPwd", map);
	}

}
